package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.SpuKey;

import java.util.List;

@Mapper
public interface SpuKeyMapper extends BaseMapper<SpuKey> {
    void batchInsertBySpuId(@Param("spuId")Integer spuId, @Param("specKeyIds") List<Integer> specKeyIds);

    List<Integer> getBySpuId(Integer id);
}